#ifndef DW_GRAPHICS_QUERY_H
# define DW_GRAPHICS_QUERY_H

#include "system/disposable.h"

namespace dw
{
	namespace graphics
	{

		// Interface
		class IQuery : public system::IDisposable
		{
		public:

			enum Type 
			{ 
				SAMPLES_PASSED
			};

		// Methods
		public:

			virtual void begin() = 0;

			virtual void end() = 0;

			virtual uint32 getResult() const = 0;

			virtual Type getType() const = 0;

		};

	} // namespace graphics
} // namespace dw

#endif //	DW_GRAPHICS_QUERY_H